package cn.jinjie.day03.test16;

public class TaiShangLaoJun extends ShenXian implements HitMonkey {
    public TaiShangLaoJun() {
    }

    public TaiShangLaoJun(String name, int age) {
        super(name, age);
    }

    @Override
    void eat() {
        System.out.println(getName() + "吃仙丹");
    }

    @Override
    public void hitMonkey() {
        System.out.println(getName() + "打猴子");
    }

    public void sanMeiZhenHuo() {
        System.out.println(getName() + "使用三昧真火");
    }
}
